package com.zyh.server.service;

import com.zyh.server.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyh.server.entity.OrderDetail;
import com.zyh.server.utils.R;

import java.util.List;

/**
* @author ZYH
* @description 针对表【t_order】的数据库操作Service
* @createDate 2024-11-19 09:17:09
*/
public interface OrderService extends IService<Order> {

	/**
	 * 根据订单编号查询订单信息
	 *
	 * @param orderId
	 *
	 * @return
	 */
	Order getOrderById(String orderId);

	String checkOrder(Integer userId, Integer miaoshaGoodsId);

	List<Order> findOrderListByUserId(Integer userId);
}
